<?php get_header(); ?>
<div class="containerwrap">
<div class="inner">
    <div class="container">
   <?php if(of_get_option('feature_cat_style') == 'full') { ?>
<?php if(of_get_option('cat_feature_on')) { ?>
   <?php include TEMPLATEPATH . '/feature-full.php'; ?>
<?php } ?>
   <?php } ?>
    
    <div class="main">
<?php the_breadcrumb(); ?>
<?php if(category_description() != '') { ?>
<div class="box_outer">
<div class="cat_article mom_cc_block">
<?php echo category_description(); ?>
</div>
</div>
<?php } ?>
   <?php if(of_get_option('feature_cat_style') == 'default') { ?>
<?php if(of_get_option('cat_feature_on')) { ?>
   <?php include TEMPLATEPATH . '/feature.php'; ?>
<?php } ?>
   <?php } ?>
<?php if(of_get_option('cat_lv_on')) { ?>
    <?php include TEMPLATEPATH . '/latest-video.php'; ?>
<?php } ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php cat_article(); ?>
<?php endwhile; ?>
<?php  else:  ?>
<!-- Else in here -->
<?php  endif; ?>
<?php mom_pagination(); ?>
<?php wp_reset_query(); ?>
    </div> <!--End Main-->
 
    <aside class="sidebar">
         <?php if  (function_exists('dynamic_sidebar') && dynamic_sidebar('Category sidebar')){ } elseif  (function_exists('dynamic_sidebar') && dynamic_sidebar('Main sidebar')){ }else { ?>
        	<p class="noside"><?php _e('There Is No Sidebar Widgets Yet', 'theme'); ?></p>
         <?php } ?>
    </aside> <!--End Sidebar-->
    
    </div> <!--End Container-->
 <?php get_footer(); ?>